package weixintest;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/4/10 13:46
 */
public class DoubleTest {
    public static void main(String[] args) {
        double d1 = 0.1;
        double d2 = 0.2;
        System.out.println(d1 + d2 == 0.3);
        System.out.println(d1 + d2);
    }
}
